
import {
  Button,
  Badge,
  List,
  Field,
  ActionSheet,
  Radio,
  RadioGroup,
  Tab,
  Tabs,
  Cell,
  CellGroup,
  Form,
  Calendar,
  Checkbox,
  CheckboxGroup,
  Tabbar,
  TabbarItem,
  NoticeBar,
  Swipe,
  SwipeItem,
  Search,
  Image,
  Lazyload,
  Divider,
  Popup,
  DatetimePicker,
  Picker,
  Collapse,
  CollapseItem,
  Grid,
  GridItem,
  Dialog
} from "vant";
const components = [
  Button,
  Badge,
  List,
  Field,
  ActionSheet,
  Radio,
  RadioGroup,
  Tab,
  Tabs,
  Cell,
  CellGroup,
  Form,
  Calendar,
  Checkbox,
  Tabbar,
  TabbarItem,
  NoticeBar,
  Swipe,
  SwipeItem,
  Search,
  Image,
  CheckboxGroup,
  Lazyload,
  Divider,
  Popup,
  DatetimePicker,
  Picker,
  Collapse,
  CollapseItem,
  Grid,
  GridItem,
  Dialog
];
export default function useVant(app) {
  components.forEach(item => {
    app.use(item);
  });
}
